package com.consumer.user.service;

import com.common.consumer.service.ConsumerGenericService;
import com.consumer.user.config.FullLogConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.Map;

/**
 * 类描述：组织架构的feign业务接口类
 *
 * @author linzf
 */
@FeignClient(value="USER-CENTER-PRODUCE",configuration = FullLogConfiguration.class,path = "/org")
public interface ConsumerOrgService extends ConsumerGenericService {

    /**
     * 功能描述：获取所有的组织架构的数据
     *
     * @return
     */
    @PostMapping("getAllOrgList")
    Map<String, Object> getAllOrgList();

}
